/* 
 * File:   MatrixThread.h
 * Author: wgranger
 *
 * Created on October 30, 2010, 11:51 PM
 */

#ifndef _MATRIXTHREAD_H
#define	_MATRIXTHREAD_H
#include <QThread>
#include "matrix.h"

class MatrixThread : public QThread{
    Q_OBJECT
public:
    MatrixThread(int r,int i,int nR, Matrix *x, Matrix *y, Matrix *z);
    virtual ~MatrixThread();
protected:
    void run();
private:
    int row_start;
    int inc;
    int numRow;
    Matrix * A;
    Matrix * B;
    Matrix * C;
};

#endif	/* _MATRIXTHREAD_H */

